package com.quectel.cms.vo.propertybill;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/4/18 9:50
 * @description new java file header...
 */
@Data
@Schema
public class PropertyBillInfoVo implements Serializable {
    /**
     * 账单id
     */
    @Schema(description = "账单id")
    private Long billId;

    /**
     * 收费周期
     */
    @Schema(description = "收费周期")
    private Byte periodType;

    /**
     * 账期开始时间
     */
    @Schema(description = "账期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;


    /**
     * 账期结束时间
     */
    @Schema(description = "账期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;


    /**
     * 账单总金额
     */
    @Schema(description = "账单总金额")
    private BigDecimal totalAmount;

    /**
     * 账单逾期缴费时间
     */
    @Schema(description = "账单逾期缴费时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date overdueDate;

    /**
     * 逾期天数
     */
    @Schema(description = "逾期天数")
    private Long overdueDays;

    /**
     * 收费项目详情
     */
    @Schema(description = "收费项目详情")
    private List<PropertyBillItemInfoVo> chargeableItemAmountVos;


}
